import request from '@/utils/request'
import { IFMenus, IFSearchMenu } from './types/permission'

export const settingMenus = (params: IFSearchMenu) => {
  return request<IFMenus[]>({
    url: '/setting/menus',
    method: 'GET',
    params
  })
}
